<?php

class Material_AdminController extends Zen_Controller_Admin
{
	
	public function indexAction(){
		 $this->_helper->layout->setLayout('admin');
		 $this->view->model=new Material_Model_Tree();
	}
	
	public function treeAction(){
		$this->_helper->jstree(new Material_Model_Tree(),$this->_getAllParams());
	}
	
}